 
 
 
<!DOCTYPE html>
<html>
{include file="public/head"}
<body>

{include file="public/nav"}

{include file="community/nav"}
<div class="layui-container">

    <div class="addtopic-content">
        <h1 class="addtopic-title">发送消息</h1>
        <hr />
        <form action="{:url('web/Community/do_sendmsg')}" method="post" class="layui-form">
            <div class="layui-form-item">
                <label class="layui-form-label">收件人：</label>
                <div class="layui-input-inline">
                    
                    {if condition="$user_id!=null"}
                    <input type="text" name="userid" required lay-verify="required" placeholder="用户ID" autocomplete="off" class="layui-input layui-disabled" readonly="true" value="{$user_id}">
                    {else /}
                    <input type="text" name="userid" required lay-verify="required" placeholder="用户ID" autocomplete="off" class="layui-input">
                    {/if}
                </div>
            </div>
            <div style="padding: 15px 15px 20px 25px;">
                <textarea name="content" class="layui-textarea" style="padding: 20px;font-size: 18px;height: 200px;" placeholder="发送内容"></textarea>
            </div>
            <div style="padding-left: 25PX;">
                <button class="layui-btn layui-clear"  >发送</button>
            </div>
            
        </form>
</div>
 {include file="public/foot"}
</body>
</html>